Welcome![Sign In][Sign Up]
Location:
Search - socket fork

Search list

[TCP/IP stacksocket-programming

Description: this file contains socket programming codes using Tcp(transmission control protocol). this file contains a simple Tcp server and Tcp client code, Tcp server handling Tcp client by creating child process using fork(), and Tcp server handling multiple clients
Platform: | Size: 12288 | Author: black | Hits:

[Linux-UnixCyuyanLiaoTianyuanma

Description: c语言写的网络聊天 本程序,要在linux或XP环境下运行!要自己修改IP地址。 主要用到了,网络套接字socket和fork 函数!-c language Internet chat program to run on Linux or XP environment. To modify the IP address. The main use of the network socket socket and fork function!
Platform: | Size: 4096 | Author: 陌小轩 | Hits:

[Internet-Networkchat.tar

Description: 一个简单的linux socket应用,实现了server端和client端的实时对话。并且可以当作是子程序fork()函数的一个示例。-A simple linux socket application to achieve a real-time conversation server-side and client-side. And can be used as a subroutine fork () function is an example.
Platform: | Size: 1024 | Author: FFute | Hits:

[Internet-Networktcpechoserver-fork

Description: socket programming tcp echo server using fork
Platform: | Size: 1024 | Author: zyson | Hits:

[WEB Codemove15b3full

Description: 对完整版附带的模块进行了整理和补充... 增加了新的下载引擎, 使用IO::Socket模块, 能够改善兼容性,但是效率不如旧的引擎.. 增加了 优先使用自带模块的选项 , 可以解决服务器上的部分模块和自带的模块不兼容的问题... 增加了 是否使用fork() 的选项, 可以解决某些系统(如Windows)的某些Perl版本不支持fork()的问题... 修正了sendmail在Win32上的某些问题(会自动关闭sendmail功能).. 对程序提示进行了一些修改, 使提示更加确切-Version of the complete incidental module of the collation and added. Increase the new download engine, the use of IO:: socket module, can improve compatibility, but is less efficient than the old engine. Increased give priority to the use of module comes with the option , can solve the server module and built-in modules that are not compatible with the problem. Whether or not to use the fork () option can solve problem of some systems, such as windows, some Perl version does not support fork ()... Fixed certain problems sendmail on Win32 (will automatically shut off the function of sendmail).. the program prompt changes, enabling prompt more exact.
Platform: | Size: 237568 | Author: zzpudn98 | Hits:

[Linux-Unixlinuxcode.tar(1)

Description: linux下常用代码学习,包括fork、socket、终端控制、总之linux编程从入门到精通,这里的代码都有,是东北大学linux课学习的代码-Under linux common code learning, including fork, socket, terminal control, in short, linux programming entry to the master, the code here has, Northeastern University is a lesson to learn linux code
Platform: | Size: 4096 | Author: 张腾飞 | Hits:

[CommunicationSocket-network-programing

Description: 工程演示了socket的基本函数使用,其实不管有多复杂的网络程序,都使用的这些基本函数。功能是只有处理完一个客户端请求才会去处理下一个客户端的请求,这样的服务器处理能力是很弱的,现实中的服务器都需要有并发处理能力!为了需要并发处理,服务器需要fork()一个新的进程或者线程去处理请求等-Engineering demonstrates the basic functions of the socket, in fact, no matter how complex the network program, are using these basic functions. Function is only a client request to deal with a request to deal with the next client, so that the server processing power is very weak, the reality of the server need to have concurrent processing power! In order to require concurrent processing, the server needs fork () a new process or thread to handle requests
Platform: | Size: 32768 | Author: chenyawei | Hits:

[Linux-Unixlinux进程之间的通讯综合实例

Description: A<========>B<=========>C<=====>D<======>E A与B进程之间通过TCP的socket传递 主要掌握socket的流程: A服务器端: socket -->bind---->listen---->accept send read B客户端: socket-->connect->read send 不懂的可以man一下 man socket B与C使用共享内存来交互 步骤是:shmget->shmat->直接读写--->shmdt shmctl(删除) 可以man C与D之间使用消息传递进行 msgget-->msgrcv->msgsnd (注意这里的返回值判断发送正确与否 不是发送的字节数) D使用fork() 创建了一个进程 E D跟E之间使用无名管道进行交互 E程序中可以使用有名管道 进行通讯。(A<========>B<=========>C<=====>D<======>E Between the A and the B processes, the process of master socket is passed through the socket of the TCP: A server side: Socket -->bind---->listen---->accept send read B client: Socket-->connect->read send Do not understand the ability to man man socket B and C interact with shared memory The step is: shmget->shmat-> read and write --->shmdt shmctl directly (delete) Can man Message passing between C and D Msgget-->msgrcv->msgsnd (note that the return value here determines whether to send correctly or not the number of bytes sent) D uses fork () to create a process E Interaction between D and E using anonymous pipes E programs can communicate with famous pipes.)
Platform: | Size: 4096 | Author: 数据包 | Hits:

CodeBus www.codebus.net